USE [Shop]
GO

/****** Object:  Table [dbo].[Shop_Comments]    Script Date: 2020/5/17 14:14:03 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Shop_Comments](
	[CommentId] [int] IDENTITY(1,1) NOT NULL,
	[Comment] [nvarchar](1000) NULL,
	[WID] [int] NOT NULL,
	[UID] [int] NOT NULL,
	[CommentDate] [datetime] NOT NULL
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[Shop_Comments] ADD  CONSTRAINT [DF_Comments_CommentDate]  DEFAULT (getdate()) FOR [CommentDate]
GO


